package remote.controllers;

import remote.activities.DashboardActivity;
import remote.constants.IAction;
import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;

public class ActionBarController extends BaseController implements OnClickListener
{
	public ActionBarController(Activity activity)
	{
		super(activity);
	}
	
	@Override
	public void onClick(View v)
	{
		switch(v.getId())
		{
			case IAction.GO_HOME :
				_activity.startActivity(new Intent(_activity, DashboardActivity.class));
				break;
		}
	}
}
